/**
 * Created by Administrator on 2017/4/24.
 */
!(function($){
    var type = $('#type_type').val();
    var buy = {
        init:function(){
            getCategoryList(type,0);
            loadNav();
        }
    };
    var categoryId = $("#type_categoryId").val();
    var from = $('#type_from').val();
    var params = {
        type:type,
        categoryId:categoryId,
        from:from,
        orderBy:0
    };
    $(function(){
        buy.init();
        getCateogrys(1);
        dropLoad.init(params);
    })
})(Zepto);
